package great.project.easyexcel.easyexcel.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.*;

/**
 * <div  style="border:2px solid none;margin:20px;padding:15px;font-size:24px;text-align:center;color:aqua;">
 *
 *
 *
 *  </div>
 *
 * @author zhangshun
 * @date 2020/11/30 15:34
 */
@Getter
@Setter
@Builder
@ToString
@HeadRowHeight(16)
@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
@HeadFontStyle(bold = false, fontHeightInPoints = 12, color = 0, underline = 0)
public class ExcelErrorMessage {

    @ColumnWidth(20)
    @ExcelProperty("数据所在的行数")
    private Integer rowNumber;

    @ColumnWidth(15)
    @ExcelProperty("字段")
    private String field;

    @ColumnWidth(20)
    @ExcelProperty("错误信息")
    private String msg;

    @ColumnWidth(20)
    @ExcelProperty("原数据")
    private String value;

}
